home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / vayaircx / methoddo.ht_ / methoddo.ht
Encoding:
Text File  |  1998-09-11  |  1.7 KB  |  12 lines

  1. <html>
  2. <HEAD>
  3. <META HTTP-EQUIV="Keywords" CONTENT=""><BODY BGCOLOR="#FFFFCC"><BODY BACKGROUND="images\bkyellow.gif"></HEAD>
  4. <BASEFONT FACE="MS Sans Serif" COLOR=#000000>
  5. <p><b><FONT FACE="Arial" SIZE=2>Method : DoSetNick</FONT></b></p>
  6. <p><FONT FACE="Arial" SIZE=3 COLOR=#800000>DoSetNick accepts one parameter which is the requested nick you wish the </FONT><FONT FACE="Arial" SIZE=3 COLOR=#800000>server (and all on that serverchannels) recognized you as. Calling this method </FONT><FONT FACE="Arial" SIZE=3 COLOR=#800000>does </FONT><b><FONT FACE="Arial" SIZE=3 COLOR=#800000>not</FONT></b><FONT FACE="Arial" SIZE=3 COLOR=#800000> set your nick. The return for this control is boolean, which is if the </FONT><FONT FACE="Arial" SIZE=3 COLOR=#800000>message was sent OK. Calling DoSetNick sends this to the server:</FONT></p>
  7. <p></p>
  8. <p><FONT FACE="Arial" SIZE=3 COLOR=#800000>"NICK </FONT><i><FONT FACE="Arial" SIZE=3 COLOR=#800000>Nick</FONT></i><FONT FACE="Arial" SIZE=3 COLOR=#800000>"</FONT></p>
  9. <p></p>
  10. <p><FONT FACE="Arial" SIZE=3 COLOR=#800000>To find out when your nick has actually changed, the OnSetNick Event is </FONT><FONT FACE="Arial" SIZE=3 COLOR=#800000>called. This can be very useful. It is important to store the local nick and notify the </FONT><FONT FACE="Arial" SIZE=3 COLOR=#800000>user when their nick has been </FONT><b><FONT FACE="Arial" SIZE=3 COLOR=#800000>successfully</FONT></b><FONT FACE="Arial" SIZE=3 COLOR=#800000> changed. The nick of the user is </FONT><FONT FACE="Arial" SIZE=3 COLOR=#800000>always store in the VayaIRC Control and is accessed by calling the GetNick </FONT><FONT FACE="Arial" SIZE=3 COLOR=#800000>Method.</FONT><FONT FACE="Arial" SIZE=1> </FONT></p>
  11.  
  12. </html>